﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DDE_Server.Object;
using DDE_Server.Presenter;

namespace DDE_Server.View
{
    public partial class MainForm : Form
    {
        private PjmInstDispRate pjmInstDispRate = null;
        private DDEConfigs config = null;
        private MainPresenter presenter = null;
        public MainForm()
        {
            config = new DDEConfigs();
            pjmInstDispRate = new PjmInstDispRate();
            InitializeComponent();
            presenter = new MainPresenter(this);
        }

        public DispatchPresenter DispatchPresenter
        {
            get
            {
                return dispatchView_MainForm.Presenter;
            }
        }

        public StrategyPresenter StrategyPresenter
        {
            get
            {
                return strategyView_MainForm.Presenter;
            }
        }
    }
}
